package com.lantian.uavmaterial.mapper;
import org.apache.ibatis.annotations.Param;

import com.lantian.uavmaterial.domain.UavAirframeConstruction;

import java.util.List;

/**
 * 机身结构Mapper接口
 * 
 * @author lantian
 * @date 2025-11-06
 */
public interface UavAirframeConstructionMapper 
{
    /**
     * 查询机身结构
     * 
     * @param airframeStructureId 机身结构主键
     * @return 机身结构
     */
    public UavAirframeConstruction selectUavAirframeConstructionByAirframeStructureId(String airframeStructureId);

    /**
     * 查询机身结构列表
     * 
     * @param uavAirframeConstruction 机身结构
     * @return 机身结构集合
     */
    public List<UavAirframeConstruction> selectUavAirframeConstructionList(UavAirframeConstruction uavAirframeConstruction);

    /**
     * 新增机身结构
     * 
     * @param uavAirframeConstruction 机身结构
     * @return 结果
     */
    public int insertUavAirframeConstruction(UavAirframeConstruction uavAirframeConstruction);

    /**
     * 修改机身结构
     * 
     * @param uavAirframeConstruction 机身结构
     * @return 结果
     */
    public int updateUavAirframeConstruction(UavAirframeConstruction uavAirframeConstruction);

    /**
     * 删除机身结构
     * 
     * @param airframeStructureId 机身结构主键
     * @return 结果
     */
    public int deleteUavAirframeConstructionByAirframeStructureId(String airframeStructureId);

    /**
     * 批量删除机身结构
     * 
     * @param airframeStructureIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteUavAirframeConstructionByAirframeStructureIds(String[] airframeStructureIds);

    /**
     * 根据无人机id机身结构
     *
     * @param uavId 无人机id
     * @return 结果
     */
    public UavAirframeConstruction selectUavAirframeConstructionByUavId(@Param("uavId") String uavId);
}
